﻿using System.ComponentModel.DataAnnotations;
using System.Web;
using Microsoft.Web.Mvc;

namespace Yamfinder.Web.Models
{
    public class ImportFileModel
    {
        [Required, FileExtensions(Extensions = "xlsx", ErrorMessage = "Specifiy an excel (xlsx) file containing data to import. Must be a valid xlsx file.")]
        public HttpPostedFileBase File { get; set; }
    }
}